/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.strategy;

/**
 * @author caicongyang1
 * @version id: StrategyContext, v 0.1 17/5/4 下午8:33 caicongyang1 Exp $$
 */
public class StrategyContext {
    private Strategy strategy;

    public StrategyContext(Strategy strategy) {
        this.strategy = strategy;
    }

    public void Algorithm() {
        strategy.Algorithm();
    }

}
